Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BayDAG Contribution #8: Landuse and Reindex available in location choice #774

Merged

Conversation

dhensle
Copy link
Contributor

@dhensle dhensle commented Dec 18, 2023

This pull request adds the ability to call the landuse table and the "reindex" function in the location choice model. This is required for the SANDAG ABM3 model calibration. Getting county-to-county (or whatever geographic level) flows is important for calibration of workplace location models. The easiest way to accomplish this is to look at the origin home county and the destination county of the alternative and add/subtract utility for the correct combination. The county of the alternative is provided by "reindexing" the county of that zone from the landuse table.

Previous models have gotten around this limitation by creating a separate skim that contains the county. The skim is then called in the model. This requires additional overhead in terms of creating, loading, and maintaining that skim, is not efficient from a memory perspective, and is opaque to the users. This PR aims to provide a better way.

Required for SANDAG ABM3 production? -- yes

@dhensle dhensle self-assigned this Jan 30, 2024
@dhensle dhensle force-pushed the BayDAG_cont8_lu_and_reindex_in_loc_choice branch from e6beac9 to 4201d36 Compare March 7, 2024 21:53
@jpn-- jpn-- merged commit 94c4db8 into ActivitySim:main Mar 19, 2024
18 checks passed
@dhensle dhensle deleted the BayDAG_cont8_lu_and_reindex_in_loc_choice branch April 23, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants